package com.qf.service.impl;

import com.qf.entity.LogQueryDTO;
import com.qf.entity.SysLog;
import com.qf.mapper.SysLogMapper;
import com.qf.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class SysLogServicelmpl implements SysLogService {
    @Autowired
    private SysLogMapper sysLogMapper;

    @Override
    public List<SysLog> syslog (LogQueryDTO logQueryDTO) {
        return sysLogMapper.syslog(logQueryDTO);
    }

    @Override
    public boolean deleteLog (List<String> logQueryDTO) {
        return sysLogMapper.deleteLog(logQueryDTO);
    }
}
